<%@ page contentType="text/html; charset=Utf-8"%>
<%@include file="../common/web_head.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
<title></title>
</head>
<body>
	<%@include file="/page/common/header.jsp"%>
	<div class="w main">
		<div class="left">
			<%@include file="rightMenu.jsp"%>
		</div>
		<div class="right">
			<div class="o-mt">
				<h2>追加设备型号</h2>
			</div>
			<div class="w" id="regist">
				<s:form action="/addDeviceModel.action" method="post" theme="simple">
					<div class="form">
						<div class="item">
							<span class="label"><b class="ftx04">*</b>设备型号名：</span>
							<div class="fl">
								<s:textfield name="deviceModel.name" id="name" cssClass="text" tabindex="5" />
								<label id="name_succeed" class="blank"> </label>
								<span class="clr"></span>
								<label id="name_error"> </label>
							</div>
						</div>
						<div class="item">
							<span class="label"><b class="ftx04">*</b>设备型号类型：</span>
							<div class="fl">
								<s:select cssClass="select" name="deviceTypeId" id="deviceTypeId" list="deviceTypeList"
									tabindex="5" listKey="id" listValue="name" headerKey="-1" value="deviceTypeId"
									headerValue="--请选择设备型号--">
								</s:select>
								<label id="deviceTypeId_succeed" class="blank"> </label>
								<span class="clr"></span>
								<label id="deviceTypeId_error"> </label>
							</div>
						</div>
						<div class="item">
							<span class="label"><b class="ftx04">*</b>描述：</span>
							<div class="fl">
								<s:textfield name="deviceModel.description" id="description" cssClass="text" tabindex="5" />
								<label id="description_succeed" class="blank"> </label>
								<span class="clr"></span>
								<label id="description_error"> </label>
							</div>
						</div>
						<div class="item">
							<span class="label">&nbsp;</span>
							<input type="button" class="btn-img btn-regist" name="addDeviceModeSubmit"
								id="addDeviceModeSubmit" value="提交" tabindex="23" />
						</div>
					</div>
				</s:form>
			</div>
		</div>
	</div>
	<script src="js/common/JValidate.js" type="text/javascript"></script>
	<script src="js/ent/deviceModel.js" type="text/javascript"></script>
</body>
</html>
